﻿import Types from '../actionTypes';
import {
  getRefundLsit
} from '../../api';

const GET_REFUND_LIST = (page) => {
  return new Promise((resolve, reject) => {
    getRefundLsit(page).then(res => {
      console.log(res);
      resolve({
        type: Types.GET_REFUND_LIST,
        data: res
      });
    }).catch(err => {
      console.log(err);
    });
  });
};


export default {
  GET_REFUND_LIST
};
